package com.lagou.service;

import com.lagou.domain.ResourceCategory;
import com.lagou.domain.ResourceCategoryVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface ResourceCategoryService {

    /*
    查询所有资源分类
 */
    public List<ResourceCategory> findAllResourceCategory();

    /**
     * 新增资源分类
     * @param resourceCategoryVo
     */
    public void saveResourceCategory(ResourceCategoryVo resourceCategoryVo) throws InvocationTargetException, IllegalAccessException;

    /**
     * 修改资源分类
     * @param resourceCategoryVo
     */
    public void updateResourceCategory(ResourceCategoryVo resourceCategoryVo) throws InvocationTargetException, IllegalAccessException;

    public void deleteResourceCategory(Integer id);
}
